﻿using System.Collections.Generic;
using System.Threading.Tasks;

namespace Odyssey.Consul
{
    using Models;
    public interface ICoordinate
    {
        Task<List<ResultCoordinate>> ReadWanCoordinate();

        Task<List<ResultCoordinate>> ReadLanCoordinateForAllNode(ArguCoordinate arguCoordinate);

        Task<List<ResultCoordinate>> ReadLanCoordinateForNode(ArguCoordinate arguCoordinate);

        Task UpdateLanCoordinateForNode(ArguUpdateLanCoordinateForNode arguUpdateLanCoordinateForNode);
    }
}
